<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>店家详情</title>
    <link rel="stylesheet" href="css/list2.css">
    <link rel="shortcut icon" type="img/x-icon" href="img/logo.jpg"/>
</head>
<body>
<div class="nav">
    <div class="nav-content">
        <img src="img/cha.jpg"/>
        <div class="list">
            <ul>
                <li><a href="index.html">首页</a></li>
                <li><a href="MerchantsDataFenServlet">全部店家</a></li>
                <li><a href="" class="on">店家详情</a></li>
                <li><a href="detail.html">菜品详情</a></li>
                <li><a href="contact.html">联系我们</a></li>
                <li><a href="gerenzhongxin.html">个人中心</a></li>
            </ul>
        </div>

    </div>
</div>
<div class="banner" style="width: 100%">
    <div class="bner-pc">
        <img src="img/banner2.jpg" alt=""/>
    </div>
</div>
<div class="content">
    <div class="container">
        <!--<div class="aside-left">
            <ul>
                <li class="product">产品分类</li>
                <li class="writer"><a href="">国产水果</a></li>
                <li class="writer"><a href="">进口水果</a></li>
                <li class="writer"><a href="">新鲜时蔬</a></li>
                <li class="product">在线客服</li>
                <li class="writer">工作时间：</li>
                <li class="writer">周一至周五：8:30至17:00</li>
                <li class="writer">周六至周日：9:00至17:00</li>
            </ul>
        </div>-->


        <div class="aside-right">
            <ul>
                <c:forEach items="${foodList}" var="nn">
                    <li style="margin-top: 5px;height: 345px">
                        <div class="smallpc">
                            <img src="upfiles/${nn.pic}">
                        </div>
                        <p>${nn.name}</p>
                        <div class="dotted"></div>
                        <div class="second">
                            <span>￥</span>
                            <span>${nn.price}</span>
                        </div>
                        <a href="FoodXiangQingServlet?fid=${nn.fid}">
                            <button>加入购物车</button>
                        </a>
                    </li>
                </c:forEach>
            </ul>
        </div>


        <%--   <li>
               <a href="">
                   <div class="smallpc">
                       <img src="img/you.jpg"/>
                   </div>
                   <p>油菜500g</p>
               </a>
               <div class="dotted"></div>
               <div class="second">
                   <span>￥</span>
                   <span>8.00</span>
               </div>
               <a href="">
                   <button>购买</button>
               </a>
           </li>--%>
        <%--  <li>
              <a href="">
                  <div class="smallpc">
                      <img src="img/ou.jpg"/>
                  </div>
                  <p>莲藕500g</p>
              </a>
              <div class="dotted"></div>
              <div class="second">
                  <span>￥</span>
                  <span>10.00</span>
              </div>
              <a href="">
                  <button>购买</button>
              </a>
          </li>
          <li>
              <a href="">
                  <div class="smallpc">
                      <img src="img/ou.jpg"/>
                  </div>
                  <p>西湖500g</p>
              </a>
              <div class="dotted"></div>
              <div class="second">
                  <span>￥</span>
                  <span>9.90</span>
              </div>
              <a href="">
                  <button>购买</button>
              </a>
          </li>
          <li>
              <a href="">
                  <div class="smallpc">
                      <img src="img/bocai.jpg"/>
                  </div>
                  <p>菠菜500g</p>
              </a>
              <div class="dotted"></div>
              <div class="second">
                  <span>￥</span>
                  <span>6.00</span>
              </div>
              <a href="">
                  <button>购买</button>
              </a>
          </li>
          <li class="content-right">
              <a href="">
                  <div class="smallpc">
                      <img src="img/shanzhu.jpg"/>
                  </div>
                  <p>新鲜山竹10个</p>
              </a>
              <div class="dotted"></div>
              <div class="second">
                  <span>￥</span>
                  <span>49.00</span>
              </div>
              <a href="">
                  <button>购买</button>
              </a>
          </li>
          <li class="content-right">
              <a href="">
                  <div class="smallpc">
                      <img src="img/ou.jpg"/>
                  </div>
                  <p>西兰花400g</p>
              </a>
              <div class="dotted"></div>
              <div class="second">
                  <span>￥</span>
                  <span>19.00</span>
              </div>
              <a href="">
                  <button>购买</button>
              </a>
          </li>
          <li class="content-right">
              <a href="">
                  <div class="smallpc">
                      <img src="img/ou.jpg"/>
                  </div>
                  <p>绿竹笋500g</p>
              </a>
              <div class="dotted"></div>
              <div class="second">
                  <span>￥</span>
                  <span>29.00</span>
              </div>
              <a href="">
                  <button>购买</button>
              </a>
          </li>
          <li class="content-right">
              <a href="">
                  <div class="smallpc">
                      <img src="img/long.jpg"/>
                  </div>
                  <p>新西兰阳光龙眼400g</p>
              </a>
              <div class="dotted"></div>
              <div class="second">
                  <span>￥</span>
                  <span>36.00</span>
              </div>
              <a href="">
                  <button>购买</button>
              </a>
          </li>--%>
        <%-- </ul>--%>
        <%--</div>--%>
    </div>
</div>
<div class="list-number">
    <div style="text-align: center;margin-top: 15px">
        <%-- <a href="list.html"><span>上一页</span></a>
         <a href="list.html"><span>1</span></a>
         <a href=""><span style="color: #4AB344;">2</span></a>
         <a href=""><span>下一页</span></a>--%>

        <a href="FoodFenYeServlet?pageIndex=1&mid=${mid}">首页</a>|
        <a href="FoodFenYeServlet?pageIndex=${pageNum-1}&mid=${mid}">上一页</a>|
        <a href="FoodFenYeServlet?pageIndex=${pageNum+1}&mid=${mid}">下一页</a>|
        <a href="FoodFenYeServlet?pageIndex=${total}&mid=${mid}">尾页</a>
    </div>
</div>
<div class="foot">
    <div class="footer">
        <div class="footer-bg">
            <!--<div class="footer-bglist">
            <ul>
                <li>
                    <img src="img/bottom1.png" alt="" />
                    <div class="foot-text">
                        <font>食品安全</font><br />
                        <span>精选产品，严格质检</span>
                    </div>
                </li>
                <li>
                    <img src="img/bottom3.png" alt="" />
                    <div class="foot-text">
                        <font>全城冷链</font><br />
                        <span>可靠物流 安全可控</span>
                    </div>
                </li>
                <li>
                    <img src="img/flower.png" alt="" />
                    <div class="foot-text">
                        <font>绿色天然</font><br />
                        <span>绿色生态 蔬果精选</span>
                    </div>
                </li>
                <li>
                    <img src="img/bottom2.png" alt="" />
                    <div class="foot-text">
                        <font>产地直采</font><br />
                        <span>限定产源 质量保证</span>
                    </div>
                </li>
            </ul>
            </div>-->
            <div class="footer-border">
            </div>
            <div class="footer-list">
                <div class="footer-list1">
                    <div>服务保障</div>
                    <ul>
                        <li>正品保障</li>
                        <li>7天无理由退换货</li>
                        <li>退货返运费</li>
                        <li>7X15小时客户服务</li>
                    </ul>
                </div>
                <div class="footer-list1">
                    <div>支付方式</div>
                    <ul>
                        <li>公司转账</li>
                        <li>货到付款</li>
                        <li>在线支付</li>
                        <li>分期付款</li>
                    </ul>
                </div>
                <div class="footer-list1">
                    <div>商家服务</div>
                    <ul>
                        <li>配送中心</li>
                        <li>广告服务</li>
                        <li>服务市场</li>
                    </ul>
                </div>
                <div class="footer-list1">
                    <div>服务保障</div>
                    <ul>
                        <li>免运费</li>
                        <li>海外配送</li>
                        <li>EMS</li>
                        <li>211限时达</li>
                    </ul>
                </div>
            </div>
            <div class="copyright">
                Copyright&copy;1996-2018Fresh.All Rights Reserved.
            </div>
        </div>
    </div>
</div>
</body>
</html>
